package com.example.voucher.common;

public enum ResponseEnum {
    SUCCESS("00000", "成功"), FAIL("99999", "失败"),

    PARAM_ERROR("10000", "入参有误"),

    DATA_ERROR("20000", "数据错误"), DATA_NOT_EXISTS_ERROR("20001", "数据不存在"), DATA_STATUS_ERROR("20002", "数据状态有误"),

    ;

    private String code;
    private String msg;

    private ResponseEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
